﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PetBreed_List.aspx.cs" Inherits="Admin.Sys.PetBreed.PetBreed_List" %>
<%@ Register Namespace="Rainy.FrameWork" TagPrefix="cc1" Assembly="Rainy.FrameWork" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>宠物种类维护</title>
</head>
<body>
    <form id="form1" runat="server">
    <!-- 查询条件 Start --->
    <table cellspacing="1" cellpadding="5" width="100%" class="tb_query"
        border="0">
        <tr>
            <td class="th_query">
                <table cellspacing="1" cellpadding="4" width="100%" bordercolor="#FFFFFF" bordercolorlight="#F8FBFF"
                    class="tablebg_Common" border="1">
                    <tr>
                        <td align="right" class="leftTd_Common" valign="middle">
                            品种名称
                        </td>
                        <td align="left" class="rightTd_Common" valign="middle">
                            <input type="text" id="txtName"  class="inputCommon" runat="server" />
                        </td>
                        <td align="right" class="leftTd_Common">
                            助记码
                        </td>
                        <td align="left" class="rightTd_Common">
                            <input type="text" id="txtHelpCode" class="inputCommon" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="leftTd_Common">
                            个人一般区限养
                        </td>
                        <td align="left" class="rightTd_Common" valign="middle">
                            <asp:DropDownList 
                                ID="ddlPerCom" runat="server">
                                <asp:ListItem></asp:ListItem>
                                <asp:ListItem Value="Y">是</asp:ListItem>
                                <asp:ListItem Value="N">否</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td align="right" class="leftTd_Common">
                            单位一般区限养
                        </td>
                        <td align="left" class="rightTd_Common" valign="middle">
                            <asp:DropDownList 
                                ID="ddlOrgCom" runat="server">
                                <asp:ListItem></asp:ListItem>
                                <asp:ListItem Value="Y">是</asp:ListItem>
                                <asp:ListItem Value="N">否</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="leftTd_Common">
                            个人重点区限养
                        </td>
                        <td align="left" class="rightTd_Common" valign="middle">
                            <asp:DropDownList 
                                ID="ddlPerImp" runat="server">
                                <asp:ListItem></asp:ListItem>
                                <asp:ListItem Value="Y">是</asp:ListItem>
                                <asp:ListItem Value="N">否</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td align="right" class="leftTd_Common">
                            单位重点区限养
                        </td>
                        <td align="left" class="rightTd_Common" valign="middle">
                            <asp:DropDownList 
                                ID="ddlOrgIMP" runat="server">
                                <asp:ListItem></asp:ListItem>
                                <asp:ListItem Value="Y">是</asp:ListItem>
                                <asp:ListItem Value="N">否</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="leftTd_Common">
                            个人其他区限养</td>
                        <td align="left" class="rightTd_Common" valign="middle">
                            <asp:DropDownList 
                                ID="ddlPerOther" runat="server">
                                <asp:ListItem></asp:ListItem>
                                <asp:ListItem Value="Y">是</asp:ListItem>
                                <asp:ListItem Value="N">否</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td align="right" class="leftTd_Common">
                            单位其他区限养</td>
                        <td align="left" class="rightTd_Common" valign="middle">
                            <asp:DropDownList 
                                ID="ddlOrgOther" runat="server">
                                <asp:ListItem></asp:ListItem>
                                <asp:ListItem Value="Y">是</asp:ListItem>
                                <asp:ListItem Value="N">否</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                </table>
            </td>
            <td style="width: 50px;" class="th_query" align="center" valign="middle">
                <asp:Button ID="btnQuery" runat="server" Text="查询" onclick="btnQuery_Click" />
            </td>
        </tr>
    </table>
    <!-- 查询条件 End -->
    <!-- 分页列表 Start -->
    <div class="padd_top">
        <asp:GridView ID="gvInfo" Width="100%" runat="server" DataKeyNames="SYS_PETBREED_ID"
            AutoGenerateColumns="False" SkinID="gvCommSkin" RowStyle-HorizontalAlign="Center" GridLines="None">
            <Columns>
                <asp:TemplateField HeaderText="序号">
                    <ItemTemplate>
                        <asp:CheckBox ID="chkRegInfoID" runat="server" /><asp:HiddenField ID="RegInfoID"
                            runat="server" Value='<%#Eval("SYS_PETBREED_ID") %>' />
                    </ItemTemplate>
                </asp:TemplateField>
<asp:BoundField DataField="NAME" HeaderText="品种名称"></asp:BoundField>
                <asp:BoundField DataField="HELP_CODE" HeaderText="助记码" />
                <asp:BoundField DataField="LIMIT_PER_COM" HeaderText="个人重点区饲养" />
                <asp:BoundField DataField="LIMIT_PER_IMP" HeaderText="个人一般区饲养" />
                <asp:BoundField DataField="LIMIT_PER_OTHER" HeaderText="个人其他区饲养" />
                <asp:BoundField DataField="LIMIT_ORG_IMP" HeaderText="单位重点区饲养" />
                <asp:BoundField DataField="LIMIT_ORG_COM" HeaderText="单位一般区饲养" />
                <asp:BoundField DataField="LIMIT_ORG_OTHER" HeaderText="单位其他地区饲养" />
                <asp:BoundField DataField="CREATE_TIME" HeaderText="创建时间" />
                <asp:BoundField DataField="CREATOR_NAME" HeaderText="操作员" />
            </Columns>

<RowStyle HorizontalAlign="Center"></RowStyle>
        </asp:GridView>
    </div>
    <div style="text-align: left;">
        <cc1:Paging ID="pagingControl" runat="server" PageSize="10" OnPageChanged="pagingControl_PageChanged"
            ShowFields="*" ></cc1:Paging>
    </div>
    <!-- 分页列表结束 -->
    </form>
</body>
</html>
